Repository navigation
perf: tune MiniMax M3.1 vLLM AgentX recipe / perf:优化 MiniMax M3.1 vLLM AgentX 配置 - #4528
jiacao-amd wants to merge 6 commits into
Conversation
|
Thanks for the contribution!
中文感谢你的贡献!
|
|
Claude finished @jiacao-amd's task in 49s —— View job LGTM - no blocking issues found. The new |
There was a problem hiding this comment.
I reviewed this PR and found no bugs. The recipe and amd-master.yaml have CODEOWNERS, so one of them should still look at it, and the sweep run that /use needs before merge has not happened yet.
What was reviewed:
- The new C16 block inherits the NVFP4 KV cache, the NVFP4 indexer and the DBO settings from
base, because only the C1-C8 mono override changes them. That matches the changelog. - The C16 speculative-config is the same as the K3 one apart from the token count, including
kv_cache_dtype: fp8. The shortened zip lists line up:max-num-seqs [64, 128]withCONC ['32', '64']. Together the overrides still cover 1-64, which matches the master conc-list. - The changelog entry is appended at the end of the file and existing entries are unchanged. The deleted amd-master.yaml header comment does not change any config.
Extended reasoning...
The change switches C16 in the MiniMax-M3.1-Flash MI355X vLLM agentic recipe from 3 to 7 DSpark draft tokens using a single-concurrency override, shortens the K3 zip to C32-C64, removes a header comment from amd-master.yaml and appends one perf-changelog entry. It does not touch anything security-sensitive. The edit is small and follows patterns already used in the file. I deferred because CODEOWNERS covers both amd-master.yaml and the whole repo, and because this performance change still needs a maintainer-accepted sweep before merge.
|
View unofficial run (performance): https://inferencex.semianalysis.com/inference?unofficialRun=40307872085 View unofficial run (accuracy): https://inferencex.semianalysis.com/evaluation?unofficialRun=40307872085 |
| args: | ||
| speculative-config: '{"method":"dspark","num_speculative_tokens":3,"attention_backend":"TRITON_ATTN","kv_cache_dtype":"fp8","draft_sample_method":"probabilistic","rejection_sample_method":"block"}' | ||
| # Index reuse is incompatible with mono decode at lower concurrency. | ||
| hf-overrides: '{"text_config":{"use_index_cache":true,"index_topk_freq":2}}' |
There was a problem hiding this comment.
This drops long context eval accuracy, explicitly not allowed fyi.
Tune MiniMax-M3.1-Flash MI355X vLLM AgentX decoding with K7 DSpark and cross-layer index reuse. All sweep points use K7 with the corresponding golden acceptance curve; C16–C64 also enable
index_topk_freq=2. C1–C8 retain mono decode, which does not support index reuse.The table reports separate 900-second AgentX tests at TP4/C16, on the same hardware without a profiler, using the CI configuration.
Both isolated changes improve decode interactivity with higher TTFT. Their combined gain has not been measured. Index reuse changes selected KV blocks, and model quality has not yet been validated. The formal test phases had zero errors; the index-reuse test had one empty-response error during warmup. P90 interactivity follows the CI convention: P10 of per-user output throughput. Acceptance in these performance tests is synthetic.
AI model disclosure
Codex, identified by the runtime as based on GPT-6; the exact deployed model identifier could not be verified. Role: experiments, analysis, configuration changes, and PR preparation.
PR checklist and change type
Type of Change
Checklist
python -m infx.matrix.changed --base origin/mainlists affected config keys, I have appended one new entry covering them to the physical end ofinferencex-e2e/perf-changelog.yaml; if it lists none, I have added none. I have not edited historical entriesinferencex-e2e/perf-changelog.yamlentry, it carries exactly one primary sweep label (a maintainer applies it on fork PRs):full-sweep-fail-fast(recommended),full-sweep-enabled, ornon-canary-full-sweep-enabled. Optional modifiersall-evals,evals-only, andagentx-fastrequire a primary label; the last two block reuse while applied.OWNER/MEMBER/COLLABORATOR) has commented/use <run_id>(or the legacy/reuse-sweep-run) on this PR. Do this only once there is a final full sweep that is all green with evals passing, since after this comment the primary sweep label will no longer automatically kick off new sweeps. Remove and re-add the primary sweep label to force a new sweep.中文
优化 MiniMax-M3.1-Flash MI355X vLLM AgentX 的 DSpark 和跨层 index 复用配置。所有 sweep 并发点使用 K7,由启动器选择对应 golden acceptance curve;C16–C64 额外启用
index_topk_freq=2。C1–C8 保留 mono decode,它不支持 index 复用。上表是相同硬件、TP4/C16、无 profiler 的 900 秒单项对照。K7 和 index 复用各自改善 decode interactivity,但提高 TTFT;组合收益尚未测量。index 复用会改变选中的 KV blocks,模型质量尚未验证。两项正式测试均无错误,index 复用组预热时有一条空响应错误。P90 interactivity 取每用户输出速率的 P10;性能测试采用 synthetic acceptance。
AI:运行环境标识为基于 GPT-6 的 Codex,无法确认完整部署模型标识;用于实验、分析、配置修改及 PR 编写。